package com.gqb.spring.bean;

public class StringUtil {
	public static String bigCaseFirstChar(String prop) {
		char ch = (char) (prop.charAt(0) - 32);
		return prop.replaceFirst(prop.charAt(0) + "", ch + "");
	}

	public static String smallCaseFirstChar(String prop) {
		char ch = (char) (prop.charAt(0) + 32);
		return prop.replaceFirst(prop.charAt(0) + "", ch + "");
	}

}
